<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="crm.util.ParamUtil"%>
<%@page import="java.util.Collection"%>
<%@page import="crm.model.Linkman"%>
<%@page import="crm.control.LinkmanControl"%>
<%@page import="java.util.Iterator"%>

    
    <%
             int customer_id = ParamUtil.getInt(request,"consumer",0);
    System.out.print("WWWW"+customer_id+"DDDD");
             Collection<Linkman> linkmanlists = LinkmanControl.getOneCustomerLinkmans(customer_id);
             System.out.print("LLLL"+linkmanlists.size()+"KK");
             Iterator<Linkman> it = linkmanlists.iterator();
             
    %>
    <option value="0">---</option>
    <%
             while(it.hasNext()){
            	 Linkman  link =  it.next();
    %>
    <option value="<%=link.getId() %>"><%=link.getName() %></option>
    <%} %>